Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uniorg-parse

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniorg-parse

uniorg plugin to parse org-mode

  • 3.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
184
decreased by-52.08%
Maintainers
2
Weekly downloads
 
Created
Source

uniorg-parse

Org-mode parser compatible with unified ecosystem.

Install

npm install uniorg-parse

Use

var unified = require('unified')
var createStream = require('unified-stream')
var uniorgParse = require('uniorg-parse')
var uniorg2rehype = require('uniorg-rehype')
var html = require('rehype-stringify')

var processor = unified().use(uniorgParse).use(uniorg2rehype).use(html)

process.stdin.pipe(createStream(processor)).pipe(process.stdout)

API

processor().use(uniorgParse)

Configure the processor to read Org as input and process uniorg syntax trees.

parse(string)

Parse string.

import { parse } from 'uniorg-parse/lib/parser';

console.log(parse('* example document'))

License

GNU General Public License v3.0 or later

Keywords

FAQs

Package last updated on 19 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc